package com.eeds.model.culture.req;

import com.eeds.common.model.ReqUserId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改文化请求参数")
@EqualsAndHashCode(callSuper =false)
public class ReqUpdateCultureVO extends ReqUserId {


    /**
     *文化id
     */
    @ApiModelProperty(value="文化id")
    @NotNull(message = "文化id不能为空")
    private Long idCulture;
    /**
     * 标题
     */
    @ApiModelProperty(value="标题")
    @NotNull(message = "标题不能为空")
    private String title;
    /**
     * 内容
     */
    @ApiModelProperty(value="内容")
    @NotNull(message = "内容不能为空")
    private String content;
}
